home *** CD-ROM | disk | FTP | other *** search
- Subject: Sending AppleEvents from container to embedded parts
- Sent: 8/15/96 10:53 AM
- Received: 8/15/96 11:01 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I am reposting this message.
-
-
- ---------------------------------------------------------------------------
- ----
-
-
- Like a number of other people on this list, I'm trying to get my container
- to send AppleEvents to embedded parts. The code we're using is
- practically
- identical to the function posted to this list on August 6th by
- phayes@umich.edu. Like her, we're finding that ODMessageInterface::Send
- is
- failing with error -1728 (errAENoSuchObject). Was anyone able to suggest
- a
- solution for that problem?
-
- We're using ODMessageInterface::CreatePartObjSpec to create the
- object-specifier for the destination part, which gets passed (with the
- property's specifier) to FW_CreateObjSpecifier to create a direct object.
- Is this the recommended way to create a specifier referring to a property
- of an embedded part? There also seems to be a ODMessageInterface function
- called EmbeddedFrameSpec... would that work in place of CreatePartObjSpec?
-
- None of the ODF R1 samples do this, and the whole area of inter-part
- communication within ODF seems rather murky and undocumented... is it too
- late to suggest that recipes or sample code for this kind of task should
- be
- part of the ODF R2 distribution?
-
- Thanks for your time,
-
- Eric Smith
- Tarkvara Design
-
-
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-
-